﻿@model Coslen.TahorCRM.Domain.Entities.ViewModels.Editing.NoteEditViewModel

@Html.HiddenFor(model => model.Note.NoteId)
@Html.HiddenFor(model => model.Note.CreatedAt)
@Html.HiddenFor(model => model.Note.UpdatedAt)
@Html.HiddenFor(model => model.Note.DeletedAt)
@Html.HiddenFor(model => model.Note.EntityLinkId)
@Html.HiddenFor(model => model.Note.CreatedByUserId)

    
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Note.NoteTypeId)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.Note.NoteTypeId, Model.NoteTypeList)
            @Html.ValidationMessageFor(model => model.Note.NoteTypeId)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Note.NoteBody)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Note.NoteBody)
            @Html.ValidationMessageFor(model => model.Note.NoteBody)
        </div>
    </div>
    <div class="editor-row">
        <div class="editor-label">
            @Html.LabelFor(model => model.Note.IsPublic)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Note.IsPublic)
            @Html.ValidationMessageFor(model => model.Note.IsPublic)
        </div>
    </div>


